package com.example.demojpa.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author 赵恒
 * @date 2023/4/28
 */
@Data
@Table(name = "electron_url")
@Entity
public class ElectronUrl {

    @Id
    private int id;

    private String url;

    @Column(name = "title")
    private String title;
}
